# 创建国际象棋棋盘数组
chess_board = [[(i + j) % 2 for j in range(8)] for i in range(8)]

# 打印棋盘（可选）
for row in chess_board:
    print(row)